package student;

import java.util.List;

/**
 * @Author 汤舒青
 * @Version 1.0
 */


public class TestStudentDao {
    public static void main(String[] args) {
        StudentDao studentDao = new StudentDao();
//        int i = studentDao.update(new Student(2L, "老王", "男", "15252", "5252", "55465", 5, "2022-05-30", "合肥", "2018-04-15", "安庆", "123456", "3402020"));
//        System.out.println(i);
        List<Student> list = studentDao.search(1, 10);
        for (Student student : list) {
            System.out.println(student);
        }
//        for (int i = 0; i <list.size() ; i++) {
//            System.out.println(list.get(i));
//        }
    }
}
